One-hot encoding
Representing categorical data as a vector in which:1
- One element is set to 1.
- All other elements are set to 0.
One-hot encoding is commonly used to represent strings or identifiers that have a finite set of possible values..1
Representing categorical data as a vector in which:1
One-hot encoding is commonly used to represent strings or identifiers that have a finite set of possible values..1